<br>
<form action="{{ path('fos_user_registration_register') }}" {{ form_enctype(form) }} method="POST" class="fos_user_registration_register">
    {{ form_errors(form.email) }}
    <label>Мыло
    {{ form_widget(form.email, {attr: {'class': 'setting-fields input-field'} }) }} 
    </label>
    <label>Юзернеим
    {{ form_errors(form.username) }}
    {{ form_widget(form.username, {attr: {'class': 'setting-fields input-field'} }) }} 
    </label>
    <label>Пароль
    {{ form_errors(form.plainPassword) }}
    {{ form_widget(form.plainPassword.first, {attr: {'class': 'setting-fields input-field'}})}} 
    </label>
    <label>Пароль еще разок
    {{ form_widget(form.plainPassword.second, {attr: {'class': 'setting-fields input-field'}})}} 
    </label>
    {{ form_rest(form) }}
    <div>
        <input type="submit" class="button btn-default silver-btn login-btn" value="{{ 'Регистрация'|trans }}" />
    </div>
</form>
